package com.youlai.system.converter;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.system.model.entity.SysOperLog;
import com.youlai.system.model.vo.SysOperLogVO;
import org.mapstruct.Mapper;

/**
 *@Author shen chen
 *@Date 2024-03-26
 */
@Mapper(componentModel = "spring")
public interface OperLogConverter {

    // @Mappings({@Mapping(target = "module", source = "records.id")})
    Page<SysOperLogVO> toPageVo(Page<SysOperLog> bo);

}
